import { useRouter } from "next/router"
export default function Page() {
    //动态路由
    const router = useRouter();
    const {id,detailId} = router.query;
    return (
     <main>
        <h1>User {id}</h1>
        <h2>Detail List {detailId}</h2>
     </main>
    )
  }
  